package com.sxbbc.common.core.enums;

import java.util.ArrayList;
import java.util.List;

/**
 * 商品标签枚举类
 * 用户商品编辑时选择
 * @author leehao
 * @date 2019-05-29 10:03
 */
public enum ProcLabelEnums {
    GROUP("团购"),
    SECKILL("秒杀"),
    DISCOUNT("折扣"),
    COUPON("优惠");

    private String name;

    ProcLabelEnums(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static List<ProcLabelEnums> queryList(){
        List<ProcLabelEnums> list=new ArrayList<ProcLabelEnums>();
        for(ProcLabelEnums o:ProcLabelEnums.values()){
            list.add(o);
        }
        return list;
    }
}
